package routes

import (
	"note-go/middleware"
	"note-go/pages"
	userSettings "note-go/pages/users/settings"

	"github.com/gin-gonic/gin"
)

func RegisterAuthRoutes(r *gin.Engine) {
	r.Use(middleware.AuthRequired())
	{
		r.GET("/", pages.IndexPage)
		r.GET("/home", pages.IndexPage)
		r.GET("/users/settings/profile", userSettings.UsersSettingsProfilePage)
	}
}
